package com.audaque.encoding.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author mayong
 * @since 2024/3/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FileInfoRes {
    private String id;
    private String fileName;
    private String contentLength;
    private String createTime;
    private List<Chunk> chunks;
    private int chunkCount;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Chunk {
        private String id;
        private int contentLength;
        private int num;
        private String url;
    }


}
